package com.example.mybatis.model;

import com.example.mybatis.annotation.ExcelColumn;
import com.example.mybatis.annotation.ExcelSheet;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("UserTO")
@ExcelSheet(value="userInfo",voClass = "com.example.mybatis.model.UserTO")
public class UserTO implements Serializable {

    @ExcelColumn(name = "id", displayName = "ID",type = "Long", width = 50, order = 0)
    private Long id;

    @ExcelColumn(name="deptNo", displayName = "部门编号", type="Integer", width=80, order=4)
    private Integer deptNo;

    @ExcelColumn(name="deptName", displayName = "部门名称", type="String", width=120, order=5)
    private String deptName;

    @ExcelColumn(name="userAccount", displayName = "用户账号", type="String", width=120, order=1)
    private String userAccount;

    @ExcelColumn(name="password", displayName = "用户密码", type="String", width=120, order=2)
    private String password;

    @ExcelColumn(name="nickName", displayName = "用户名称", type="String", width=150, order=3 )
    private String nickName;

    @ExcelColumn(name="emailAddress",displayName = "邮箱地址", type="String", width=180, order=6)
    private String emailAddress;

    @ExcelColumn(name="birthDay",displayName="出生日期", type="Date", width=150, order=7 )
    private String birthDay;

    @ExcelColumn(name="phoneNum", displayName = "手机号码", type="String", width=150, order = 8)
    private String phoneNum;

    @ExcelColumn(name="updatedBy", displayName = "更新人", type="String", width=120, order = 9)
    private String updatedBy;

    @ExcelColumn(name="updatedTime", displayName = "更新时间", type="Date", width = 180, order = 10)
    private String updatedTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }
}
